<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * @abstract 订单轨迹API
 * @author zxj
 */
class PartPrice extends CI_Controller
{
    private $t_order = 'maintain_order';
    function __construct()
    {
        parent::__construct();
    }


    /**
     * 获取价格
     * @return bool
     */
    function get_part_price()
    {
        $rdata = gp();
        if(!$rdata['site_id']){
            show_error('Maintenance site cannot be empty');
        }

        $sql = 'select t.*,s.* from maintain_track t left join maintain_status s on t.target_status=s.status_id where t.maintain_id=\''.$oid.'\' ';
        $orderTrackList = $this->common_model->getQuery($sql,'row_array');
        json_output('','succeed!',true);
    }


}
